<?php
namespace think;
require __DIR__ . '/../vendor/autoload.php';
defined("WEB_PATH")  or define("WEB_PATH",__DIR__);
defined("PLUGIN_PATH") or define("PLUGIN_PATH",realpath("../app/plugins"));
defined("LANG_PATH") or  define("LANG_PATH",realpath("../app/api/lang"));
// 执行HTTP应用并响应
$http = (new  App())->http;
$response = $http->name('api')->run();
$response->send();
$http->end($response);